package com.ces.handler;
/*
 * @Author wuchengcheng
 * @Date 2019-10-13 10:08
 */

/**
 * 抽象处理类
 */
public abstract class AbstractHandler {
    //存储下一个
    protected AbstractHandler next;

    //处理方法
    public abstract Object handle(int day);

    //设置指定
    public void setNext(AbstractHandler next) {
        this.next = next;
    }
}
